ACPT_Lite\Core\Helper\Strings B

Total Complexity 81
Dependencies 1
Dependents 43
Total lines 549
Lines of code 274
Logical lines of code 178
Comment lines 159
Methods 27
Properties 0

Methods 27

Method Rating Maintainability Complexity Lines of code
renderStars()
B
42 17 55
convertKeyValueArrayToString()
A
47 11 37
convertToBytes()
S
58 6 15
randomString()
S
58 4 15
renderRatingAsString()
S
54 3 21
convertStringToNumber()
S
65 4 9
generateUsername()
S
62 4 9
getUniqueName()
S
61 3 11
exists()
S
77 3 3
isUrl()
S
70 3 6
contains()
S
70 2 6
getTheFirstAvailableName()
S
68 2 7
pluralize()
S
67 2 7
formatForInStatement()
S
67 2 7
alphanumericallyValid()
S
66 2 8
isJson()
S
69 2 7
endsWith()
S
77 1 3
generateRandomId()
S
78 1 3
matches()
S
65 1 9
escapeForJSON()
S
75 1 4
likeMatch()
S
73 1 4
toCamelCase()
S
69 1 6
toSnakeCase()
S
78 1 3
minifyCss()
S
67 1 7
toHumanReadableFormat()
S
70 1 6
toDBFormat()
S
78 1 3
removeAllExtraSpaces()
S
78 1 3